home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / sticpsrc.lzh / SOURCE.ARC / COMVEC.ASM < prev    next >
Assembly Source File  |  1989-08-09  |  474b  |  20 lines

  1.     name    comvec
  2.     include pmacros.h
  3.  
  4. ; combios - call INT14 routine (COMBIOS, MBBIOS, FOSSIL)
  5. ; called from C as follows
  6. ; unsigned int combios(ax,dx)
  7. ; unsigned int ax;        /* ax value for call */
  8. ; unsigned int dx;        /* dx value for call */
  9. ; returns the returned ax value
  10.  
  11.     procdef combios,<<axval,word>,<dxval,word>>
  12.     mov    ax,axval
  13.     mov    dx,dxval
  14.     mov    bx,ax        ; avoid trouble with FOSSIL function 04h
  15.     int    14h        ; perform INT14 function
  16.     pret
  17.     pend    combios
  18.  
  19.     end
  20.